package com.czz.ucenter.client;

import com.czz.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @ClassName: SmsClient
 * @Author Czz
 * @Date 2020/2/20
 * @Time 11:34
 **/
@Component
@FeignClient(value = "education-sms")
public interface SmsClient {

    @PostMapping(value = "/user/{phone}/{code}")
    R sendUserSms(@PathVariable String phone,@PathVariable String code);

}
